package com.qf.administration.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "driver")
public class Driver {
    public static final String COL_USER_ID = "user_id";
    public static final String COL_USERNAME = "username";
    public static final String COL_TELEPHONE = "telephone";
    public static final String COL_SEX = "sex";
    public static final String COL_STATUS = "status";
    @TableId(value = "user_id", type = IdType.INPUT)
    private Integer userId;
    /**
     * 姓名
     */
    @TableField(value = "username")
    private String username;
    /**
     * 电话
     */
    @TableField(value = "telephone")
    private String telephone;
    /**
     * 性别
     */
    @TableField(value = "sex")
    private String sex;
    @TableField(value = "`status`")
    private Integer status;
}